-
Home
-
Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN
-
3.22.1 (latest)
-
Code
-
Classes
- NextGen
| Total Complexity |
164 |
| Dependencies |
11 |
| Dependents |
1 |
| Total lines |
1,095 |
| Lines of code |
554 |
| Logical lines of code |
308 |
| Comment lines |
353 |
| Methods |
24 |
| Properties |
3 |
Methods 24
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| resize_from_meta_data() |
C |
33 |
29 |
91 |
| resize_image() |
B |
40 |
21 |
53 |
| smush_bulk() |
B |
39 |
20 |
60 |
| restore_image() |
B |
38 |
15 |
71 |
| smush_image() |
A |
47 |
9 |
35 |
| resmush_image() |
A |
46 |
8 |
41 |
| maybe_unlink() |
A |
53 |
9 |
22 |
| show_restore_option() |
A |
51 |
8 |
25 |
| manual_nextgen() |
S |
50 |
7 |
30 |
| get_file_type() |
S |
57 |
7 |
16 |
| __construct() |
S |
52 |
5 |
23 |
| add_mixins() |
S |
62 |
4 |
11 |
| additional_notice() |
S |
61 |
3 |
16 |
| auto_smush() |
S |
70 |
3 |
6 |
| add_pro_tag() |
S |
67 |
3 |
8 |
| get_nextgen_attachments() |
S |
66 |
3 |
8 |
| setting_status() |
S |
79 |
2 |
3 |
| get_file_ext() |
S |
72 |
2 |
6 |
| register() |
S |
66 |
1 |
8 |
| init_modules() |
S |
75 |
1 |
4 |
| is_enabled() |
S |
80 |
1 |
3 |
| get_nextgen_image_from_id() |
S |
72 |
1 |
5 |
| update_stats_image_count() |
S |
80 |
1 |
3 |
| get_nextgen_id_from_image() |
S |
70 |
1 |
6 |